package cn.iocoder.yudao.module.handguard.convert.journalism;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.handguard.controller.admin.journalism.vo.*;
import cn.iocoder.yudao.module.handguard.dal.dataobject.journalism.JournalismDO;

/**
 * 新闻管理 Convert
 *
 * @author 芋道源码
 */
@Mapper
public interface JournalismConvert {

    JournalismConvert INSTANCE = Mappers.getMapper(JournalismConvert.class);

    JournalismDO convert(JournalismCreateReqVO bean);

    JournalismDO convert(JournalismUpdateReqVO bean);

    JournalismRespVO convert(JournalismDO bean);

    List<JournalismRespVO> convertList(List<JournalismDO> list);

    PageResult<JournalismRespVO> convertPage(PageResult<JournalismDO> page);

    List<JournalismExcelVO> convertList02(List<JournalismDO> list);

}
